package com.cmict.data.system.controller.admin.oa.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;


@Data
public class ScheduleManagementBaseVO {

    @ApiModelProperty(value = "提醒内容", required = true, example = "awesome")
    @NotBlank(message = "提醒内容不能为空")
    private String remindContent;

    @ApiModelProperty(value = "发送时间", required = true)
    @NotNull(message = "发送时间不能为空")
    private LocalDateTime sendTime;

    @ApiModelProperty(value = "开始时间", required = true)
    @NotNull(message = "开始时间不能为空")
    private LocalDateTime startTime;

    @ApiModelProperty(value = "结束时间", required = true)
    @NotNull(message = "结束时间不能为空")
    private LocalDateTime endTime;

    @ApiModelProperty(value = "状态", required = true, example = "0")
    private Integer status;

    @ApiModelProperty(value = "提醒设置", required = true, example = "1")
    @NotNull(message = "提醒设置不能为空")
    private Integer remindSet;

    @ApiModelProperty(value = "标签颜色", required = true)
    @NotBlank(message = "标签颜色不能为空")
    private String backgroundColor;
}
